import request from "../utils/request";

export default {
    signUp(user) {
        return request({
            url: `/user/signUp`,
            method: 'post',
            data: user
        })
    },
    signIn(user) {
        return request({
            url: `/user/signIn`,
            method: 'post',
            data: user
        })
    },
    getUserInfo() {
        return request({
            url: `/user/getLoginInfo`,
            method: 'get'
        })
    }
}